package zytrade.service.mobile.dao;

import zytrade.service.mobile.entity.ActivationAssignDO;
import java.util.List;

/**
 * @Author: Wu
 * @Description: 激活码分配日志 dao
 * @Date: Create in 15:31 2017/11/22
 * @Modified By:
 */
public interface ActivationAssignMapper{
    /**
     * @Author: Wu
     * @Description:更具id删除数据
     * @param id
     * @Date:Create in 15:31 2017/11/22
     */
    int deleteByPrimaryKey(Long id);

    /**
     * @Author: Wu
     * @Description:插入实体
     * @param record
     * @Date:Create in 15:31 2017/11/22
     */
    int insert(ActivationAssignDO record);

    /**
     * @Author: Wu
     * @Description:插入整个实体
     * @param record
     * @Date:Create in 15:31 2017/11/22
     */
    int insertSelective(ActivationAssignDO record);

    /**
     * @Author: Wu
     * @Description:根据idc查询实体
     * @param id
     * @Date:Create in 15:31 2017/11/22
     */
    ActivationAssignDO selectByPrimaryKey(Long id);

    /**
     * @Author: Wu
     * @param record
     * @Description:根据id动态更新实体
     * @Date:Create in 15:31 2017/11/22
     */
    int updateByPrimaryKeySelective(ActivationAssignDO record);

    /**
     * @Author: Wu
     * @param record
     * @Description:更新整个实体
     * @Date:Create in 15:31 2017/11/22
     */
    int updateByPrimaryKey(ActivationAssignDO record);

    /**
     * @Author: Wu用于导出点击选中的数据
     * @Description:
     * @param ids
     * @Date:Create in 15:31 2017/11/22
     */
    public List<ActivationAssignDO> searchEntityListByIds(String ids);

      /**
       * @Author: Wu
       * @Description:用于导出全部数据
       * @param activationAssignDO
       * @Date:Create in 15:31 2017/11/22
       */
    public List<ActivationAssignDO> searchEntityListByEntity(ActivationAssignDO activationAssignDO);

     /**
      * @Author: Wu
      * @Description: 批量删除d
      * @param ids
      * @Date:
      */
    public int deleteEntities(String ids);

}